<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">接口详情</h1>
</div>
<div class="wrapper-md">
  <div class="panel panel-default">
    <div class="panel-heading">
      <div class="row">
        <h4 class="col-lg-4 control-label">接口基本信息</h4>
      </div>
    </div>

    <div class="panel-body">
      <form name="form" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
        <div class="form-group">
          <label class="col-lg-2 control-label">接口名称:</label>
          <div class="col-lg-4">
            <input type="text" class="form-control" ng-model="obj.name" ng-disabled="true">
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-2 control-label">服务编码:</label>
          <div class="col-lg-4">
            <input type="text" class="form-control" ng-model="obj.center_code" ng-disabled="true">
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-2 control-label">模块编码:</label>
          <div class="col-lg-4">
            <input type="text" class="form-control" ng-model="obj.module_code" ng-disabled="true">
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-2 control-label">功能编码:</label>
          <div class="col-lg-4">
            <input type="text" class="form-control" ng-model="obj.function_code" ng-disabled="true">
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-2 control-label">接口类型:</label>
          <div class="col-lg-4">
            <div class="radio">
              <label class="i-checks">
                <input type="radio" ng-model="obj.type" value="c" ng-disabled="true"><i></i>方法类接口
              </label>
              <label class="i-checks" style="margin-left: 10px">
                <input type="radio" ng-model="obj.type" value="s" ng-disabled="true"><i></i>XML类接口
              </label>
            </div>
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-2 control-label">权限表示:</label>
          <div class="col-lg-4">
            <input type="text" class="form-control" ng-model="obj.auth_code">
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-2 control-label">开启缓存:</label>
          <div class="col-lg-4">
            <label class="i-switch m-t-xs m-r">
              <input type="checkbox" ng-true-value="'1'" ng-false-value="'0'" ng-model="obj.cache_flag">
              <i></i>
            </label>
          </div>
        </div>
        <div class="form-group" ng-if="obj.cache_flag == '1'">
          <label class="col-lg-2 control-label">缓存参数:</label>
          <div class="col-lg-4">
            <input type="text" class="form-control" ng-model="obj.cache_params">
          </div>
        </div>
        <div class="form-group" ng-if="obj.cache_flag == '1'">
          <label class="col-lg-2 control-label">缓存时间:</label>
          <div class="col-lg-4">
            <input type="text" class="form-control" ng-model="obj.cache_timeint">
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-2 control-label">描述:</label>
          <div class="col-lg-4">
            <input type="text" class="form-control" ng-model="obj.description">
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-2 control-label">排序:</label>
          <div class="col-lg-4">
            <input type="number" class="form-control" ng-model="obj.sort">
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-2 control-label">备注信息:</label>
          <div class="col-lg-4">
            <textarea id="remarks" class="form-control" rows="3" ng-model="obj.remarks"></textarea>
          </div>
        </div>
      </form>
      <div class="col-lg-2"></div>
        <div class="col-lg-3">
          <button class="btn btn-primary btn-rounded" ng-click="save()">保存</button>
          <button class="btn btn-default btn-rounded" ng-click="cancel()">取消</button>
        </div>
    </div>

   


  </div>
</div>




